package com.bzy.blp.mapper;

import com.bzy.blp.model.TDrilling;
import com.bzy.blp.model.TDrillingCriteria;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TDrillingMapper {
    long countByExample(TDrillingCriteria example);

    int deleteByExample(TDrillingCriteria example);

    int deleteByPrimaryKey(Integer id);

    int insert(TDrilling record);

    int insertSelective(TDrilling record);

    List<TDrilling> selectByExample(TDrillingCriteria example);

    TDrilling selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TDrilling record, @Param("example") TDrillingCriteria example);

    int updateByExample(@Param("record") TDrilling record, @Param("example") TDrillingCriteria example);

    int updateByPrimaryKeySelective(TDrilling record);

    int updateByPrimaryKey(TDrilling record);

    int insertDrilling(TDrilling record);

    List<TDrilling> getDrillingsByPileId(Integer pileId);
}